package com.ll.msmservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 2020/11/11 - 15:48
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = {"com.ll"}) //要用到swagger,所以添加这个注解
@EnableDiscoveryClient //nacos注册
public class MsmSendApplication {
    public static void main(String[] args) {
        SpringApplication.run(MsmSendApplication.class, args);
    }
}
